<!-- SETTINGS -->
<div class="tabbertab" title="Settings">

<?php
	$stale_dn = 'ou=ISTRK0123456789,dc=na,dc=micron,dc=com';

	// obtain current stale_dn
	$query = "SELECT stale_dn FROM n_adc WHERE state != 3 LIMIT 1";
	$result = mysql_query($query);
	if($row = mysql_fetch_assoc($result)) {
		$stale_dn = $row["stale_dn"];
	}
?>


<form name='tab_settings'>
<table>
<!--
<tr>
<td>Stale days
<td><input type='text' value='90'>
<td><input type='button' value='set'/>
<tr>
<td>Start Node
<td><input type='text' size='50' value='dc=na,ou=micron,ou=com'>
<td><input type='button' value='set'/>
-->
<tr>
<td>Stale DN
<td><input id='txtStaleDN' type='text' size='50' value='<?php echo $stale_dn; ?>'>
<td><input type='submit' onclick='javascript:process("set_StaleDN", document.getElementById("txtStaleDN").value)' value='set'/>
</table>
</form>

</div>	<!-- end tabber tab -->
